#!/bin/sh
#usage StartDragent.sh <EIUM_HOME> <MASTER_HOST> <MASTER_PORT> <SLAVE_HOST> <SLAVE_PORT> <USER_NAME> <PASSWORD> <DB_INST>
base=$(cd `dirname $0`; pwd)
nohup $1/VoltDB/bin/dragent master $2:$3 replica $4:$5 username $6 password $7 > $base/../logs/dragent.$8.log 2>&1 &
